package com.tledu.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 子章节对象 son_section
 *
 * @author Ghost
 * @date 2021-07-13
 */
public class SonSection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 子章节ID */
    private Long sonSectionId;

    /** 父章节ID */
    @Excel(name = "父章节ID")
    private Long sectionId;

    /** 子章节名称 */
    @Excel(name = "子章节名称")
    private String sonSectionName;

    /** 子章节视频 */
    @Excel(name = "子章节视频")
    private String sonSectionVideo;

    /** 是否允许观看 */
    @Excel(name = "是否允许观看")
    private String isWatch;

    /** 子章节序列 */
    @Excel(name = "子章节序列")
    private String sonSequence;

    /** 子章节备注 */
    @Excel(name = "子章节备注")
    private String sonSectionRemark;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private Long revision;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long deleted;

    public void setSonSectionId(Long sonSectionId)
    {
        this.sonSectionId = sonSectionId;
    }

    public Long getSonSectionId()
    {
        return sonSectionId;
    }
    public void setSectionId(Long sectionId)
    {
        this.sectionId = sectionId;
    }

    public Long getSectionId()
    {
        return sectionId;
    }
    public void setSonSectionName(String sonSectionName)
    {
        this.sonSectionName = sonSectionName;
    }

    public String getSonSectionName()
    {
        return sonSectionName;
    }
    public void setSonSectionVideo(String sonSectionVideo)
    {
        this.sonSectionVideo = sonSectionVideo;
    }

    public String getSonSectionVideo()
    {
        return sonSectionVideo;
    }
    public void setIsWatch(String isWatch)
    {
        this.isWatch = isWatch;
    }

    public String getIsWatch()
    {
        return isWatch;
    }
    public void setSonSequence(String sonSequence)
    {
        this.sonSequence = sonSequence;
    }

    public String getSonSequence()
    {
        return sonSequence;
    }
    public void setSonSectionRemark(String sonSectionRemark)
    {
        this.sonSectionRemark = sonSectionRemark;
    }

    public String getSonSectionRemark()
    {
        return sonSectionRemark;
    }
    public void setRevision(Long revision)
    {
        this.revision = revision;
    }

    public Long getRevision()
    {
        return revision;
    }
    public void setDeleted(Long deleted)
    {
        this.deleted = deleted;
    }

    public Long getDeleted()
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sonSectionId", getSonSectionId())
            .append("sectionId", getSectionId())
            .append("sonSectionName", getSonSectionName())
            .append("sonSectionVideo", getSonSectionVideo())
            .append("isWatch", getIsWatch())
            .append("sonSequence", getSonSequence())
            .append("sonSectionRemark", getSonSectionRemark())
            .append("revision", getRevision())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
